import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path:'/',
    name:'home'
  },
  {
    path: '/about',
    name: 'about',
    
    component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')
  },
  {
    path: '/nav1',
    name: 'nav1',
    component: () => import('../tabbarpage/nav1'),
    meta:{
      showtabbar:true
    }
  },
  {
    path: '/nav2',
    name: 'nav2',
    component: () => import('../tabbarpage/nav2')
  },
  {
    path: '/nav3',
    name: 'nav3',
    component: () => import('../tabbarpage/nav3')
  },
  {
    path: '/nav4',
    name: 'nav4',
    component: () => import('../tabbarpage/nav4')
  },

]

const router = new VueRouter({
  routes
})

export default router
